package org.wjk.servicimpl;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.wjk.annation.CachaFlush;
import org.wjk.mapper.SysUserMppr;
import org.wjk.service.SysUserSvs;
@Service
@Slf4j
@RequiredArgsConstructor
public class SysUserSvsImpl implements SysUserSvs
{
    private final SysUserMppr userMppr;
    @Override
    @CachaFlush(key = "USER")
    public int lockedCurrentUser(String username)
    {
        return userMppr.lockedCurrentUser(username);
    }
}
